package com.itheima.hello;

public class Test5{
    public static void main(String[] args){
        minNumber(12,45);
        System.out.println("较小值是：" + minNumber(100,20));
    }
    public static double minNumber(double a ,double b){
        double minNumber = a < b ? a : b;
        return minNumber;


    }

}